libmyc.so:mytest.o mystring.o
	gcc -shared -o $@ $^ 
mytest.o:mytest.c
	gcc -fPIC -c $< -I lib/include/ 
mystring.o:mystring.c
	gcc -fPIC -c $< -I lib/include/

.PHONY:out 
out:
	mv libmyc.so lib/lib64/ 
	gcc main.c -I lib/include/ -L lib/lib64/ -l myc

.PHONY:clean
clean:
	rm -f *.o a.out 
